package com.loeng.module.system.service.tenant;

import com.loeng.module.system.dal.dataobject.tenant.TenantPackageDO;
import com.loeng.module.system.dal.mysql.tenant.TenantPackageMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 租户套餐 Service 实现类
 * @author loeng zhuo
 */
@Service
public class TenantPackageServiceImpl implements TenantPackageService {

    @Resource
    private TenantPackageMapper tenantPackageMapper;

    /**
     * 获得租户套餐
     *
     * @param id 编号
     * @return 租户套餐
     */
    @Override
    public TenantPackageDO getTenantPackage(Long id) {
        return tenantPackageMapper.selectById(id);
    }

}
